package com.ultrawise.survey.module.user.vo;

import com.ultrawise.survey.core.base.Saveable;

/**
 * AbstractTSurveyInfoUsers entity provides the base persistence definition of
 * the TSurveyInfoUsers entity. @author MyEclipse Persistence Tools
 */

public class TSurveyInfoUsers extends AbstractTSurveyInfoUsers implements Saveable, java.io.Serializable {

	// Fields

	private Integer id;
	private String us_login;
	private String us_realname;
	private String us_passwd;
	// 用户类型 1表示普通用户，2表示公开目录过来授权用户，
	private Integer us_type;
	// 0表示
	private Integer us_status;
	private String creattime;

	// Constructors

	/** default constructor */
	public TSurveyInfoUsers() {
	}

	/** minimal constructor */
	public TSurveyInfoUsers(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public TSurveyInfoUsers(Integer id, String usLogin, String usRealname, String usPasswd, Integer usType,
			Integer usStatus, String creattime) {
		this.id = id;
		this.us_login = usLogin;
		this.us_realname = usRealname;
		this.us_passwd = usPasswd;
		this.us_type = usType;
		this.us_status = usStatus;
		this.creattime = creattime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	

	public String getUs_login() {
		return us_login;
	}

	public void setUs_login(String us_login) {
		this.us_login = us_login;
	}

	public String getUs_realname() {
		return us_realname;
	}

	public void setUs_realname(String us_realname) {
		this.us_realname = us_realname;
	}

	public String getUs_passwd() {
		return us_passwd;
	}

	public void setUs_passwd(String us_passwd) {
		this.us_passwd = us_passwd;
	}

	public Integer getUs_type() {
		return us_type;
	}

	public void setUs_type(Integer us_type) {
		this.us_type = us_type;
	}

	public Integer getUs_status() {
		return us_status;
	}

	public void setUs_status(Integer us_status) {
		this.us_status = us_status;
	}

	public String getCreattime() {
		return this.creattime;
	}

	public void setCreattime(String creattime) {
		this.creattime = creattime;
	}

	private static String[] keyColumns = { "ID" };
	private static String TABLENAME = "T_SURVEY_INFO_USERS";

	public String[] getKeyColumns() {
		return keyColumns;
	}

	public String getTableName() {
		return TABLENAME;
	}

}